<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>拖拽排序</title>
  <link rel="stylesheet" href="./index.css">
</head>
<body>
  <div class="dragsort">
    <div class="item" draggable="true">Apple</div>
    <div class="item" draggable="true">Banana</div>
    <div class="item" draggable="true">Orange</div>
    <div class="item" draggable="true">Pear</div>
    <div class="item" draggable="true">Pineapple</div>
    <div class="item" draggable="true">Strawberries</div>
    <div class="item" draggable="true">Mango</div>
    <div class="item" draggable="true">Grapes</div>
    <div class="item" draggable="true">Watermelon</div>
    <div class="item" draggable="true">Papaya</div>
  </div>
  <script src="./index.js"></script>
</body>
</html>